package com.htd.erp.product;

import java.io.Serializable;

import javax.enterprise.context.ConversationScoped;
import javax.inject.Named;

import com.htd.erp.common.EntityHome;
import com.htd.erp.model.Product;

/**
 * @author Zhang Guilin
 *
 */
@Named
@ConversationScoped
public class ProductHome extends EntityHome<Product> implements Serializable {
	
	private static final long serialVersionUID = -7978349535780075199L;
	
	@Override
	protected Product newEntityInstance() {
		return new Product();
	}

	@Override
	protected Class<Product> getEntityClass() {
		return Product.class;
	}
}
